<template>
  <div class="container">
    <el-aside width="200px">
    <!--  <el-tree
      :data="supplierList"
      show-checkbox
      node-key = "id"
      label = "name">
    </el-tree>-->
    </el-aside>
    <el-container>
      <DataView ref="dataview"
        propViewKey="base_supplier_staff"
        propViewForm="base/supplier-staff/detail.vue"
        :propIsTdesign="true"
      />
    </el-container>
  </div>
</template>

<script>
import DataView from '@/components/DataView.vue'

export default {
  name: 'supplierStaff',
  data() {
    return {
      supplierList: []
    }
  },
  mounted() {
    // this.getSupplierList()
  },
  components: {
    DataView
  },
  methods: {
    async getSupplierList() {
      // await this.$refs.dataview.fetchDict()
      this.supplierList = this.$refs.dataview.getDict().supplierId
    }
  }
}
</script>

<style lang="scss" scoped>
  .container {
    height: 100%;
    background-color: #fff;
  }
</style>
